<template>
  <swiper class="detail-swiper">
    <swiper-item v-for="(item, index) in topImage" :key="index">
      <img :src="item" alt="">
    </swiper-item>
  </swiper>
</template>
<script>
import Swiper from '@/components/swiper/Swiper'
import SwiperItem from '@/components/swiper/SwiperItem.vue';
export default {
  components: { Swiper, SwiperItem },
  name: "DetailSwiper",
  props: {
    topImage: {
      type: Array,
      default(){
        return []
      }
    } 
  },
  data () {
    return {
    };
  },
}
</script>
<style scoped>
  .detail-swiper {
    width: 100%;
    height: 100%;
  }
</style>